# Maintainer: TBK <tbk@jjtc.eu>
# Contributor: TBK <tbk@jjtc.eu>
setvar pkgname = 'py3-pygpgme'
setvar _pkgname = 'pygpgme'
setvar pkgver = '0.3.1'
setvar pkgrel = '0'
setvar pkgdesc = ""PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt messages using the OpenPGP format.""
setvar url = ""https://launchpad.net/pygpgme""
setvar arch = ""all""
setvar license = ""LGPL2.1""
setvar depends = ""python3 gpgme""
setvar makedepends = ""python3-dev gpgme-dev""
setvar subpackages = """"
setvar source = ""$_pkgname-${pkgver}.tar.gz::https://github.com/rshk/$_pkgname/archive/v$pkgver.tar.gz""
setvar builddir = ""$srcdir"/$_pkgname-$pkgver"

proc build {
	cd $builddir
	python3 setup.py build
}

proc package {
	cd $builddir
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

setvar sha512sums = ""f3c9de92956917f5e55c3a8d49be354d845e4f99b3a5173601841afcdd7b9ad270be0dea50468425c517328ceba46f1252685587bcf011287d1ed3a07b7ba8ab  pygpgme-0.3.1.tar.gz""