# Maintainer: Natanael Copa pkgname=py-crypto pkgver=2.0.1 pkgrel=3 pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python." url="http://www.amk.ca/python/code/crypto.html" arch="all" license="GPL" depends="python" makedepends="gmp-dev python-dev" source="http://www.amk.ca/files/python/crypto/pycrypto-$pkgver.tar.gz" _builddir="$srcdir"/pycrypto-$pkgver build () { cd "$_builddir" python setup.py build } package() { cd "$_builddir" python setup.py install --root="$pkgdir" } md5sums="4d5674f3898a573691ffb335e8d749cd pycrypto-2.0.1.tar.gz"