# Template file for 'gpgme'
pkgname=gpgme
version=1.4.3
revision=1
build_style=gnu-configure
configure_args="--enable-fd-passing --with-gpg=/usr/bin/gpg
 --with-gpgsm=/usr/bin/gpgsm --with-gpgconf=/usr/bin/gpgconf
 --with-g13=/usr/bin/g13 --with-libgpg-error-prefix=$XBPS_CROSS_BASE/usr
 --with-libassuan-prefix=$XBPS_CROSS_BASE/usr"
hostmakedepends="gnupg"
makedepends="libgpg-error-devel libassuan-devel gnupg"
depends="libassuan>=2.0.3 gnupg"
short_desc="GnuPG Made Easy"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnupg.org/related_software/gpgme/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-$version.tar.bz2"
checksum=2d1cc12411753752d9c5b9037e6fd3fd363517af720154768cc7b46b60120496

gpgme-devel_package() {
	depends="libgpg-error-devel libassuan-devel gpgme>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin
		vmove usr/include
		vmove usr/share
		vmove "usr/lib/*.so"
	}
}
