# Template build file for 'perl-Crypt-DH'.
pkgname=perl-Crypt-DH
version=0.07
wrksrc="Crypt-DH-${version}"
revision=1
build_style=perl-module
short_desc="Crypt::DH - Diffie-Hellman key exchange system"
maintainer="Juan RP <xtraeme@gmail.com"
homepage="http://search.cpan.org/dist/Crypt-DH"
license="GPL-2"
distfiles="${CPAN_SITE}/Crypt/Crypt-DH-${version}.tar.gz"
checksum=c88cf3423b01e6782e8986d7fe5304436ab84b0925c4498c6fdfa17ef9a37f5f
long_desc="
 Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange
 system. Diffie-Hellman is an algorithm by which two parties can agree on
 a shared secret key, known only to them. The secret is negotiated over
 an insecure network without the two parties ever passing the actual
 shared secret, or their private keys, between them."

makedepends="perl-Math-BigInt-GMP"

perl-Crypt-DH_package() {
	depends="${makedepends}"
	noarch="yes"
	pkg_install() {
		vmove usr
	}
}
