pinentry: Fix QA error

This fixes: WARNING: QA Issue: pinentry rdepends on libcap, but it isn't a build dependency? [build-deps]

Also add pkgconfig support.

Signed-off-by: Armin Kuster <akuster808@gmail.com>