Use pkg-config to find gpgme
gpgme's upstream preference is to use pkg-config for identifying what configuratins are needed.
This patch was originally written by Andreas Metzler over on https://bugs.debian.org/1024417
This should resolve https://bugs.kde.org/show_bug.cgi?id=461720
Edited by Daniel Gillmor