# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.6.2
revision=1
build_style=gnu-configure
configure_args="--enable-static"
makedepends="libgpg-error-devel"
short_desc="GNU cryptographic library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=de084492a6b38cdb27b67eaf749ceba76bf7029f63a9c0c3c1b05c88c9885c4c

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