# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-sstash
_pkgname=sstash
pkgver=0.17
pkgrel=0
pkgdesc="A python based on-disk secure stash"
url="https://github.com/realcr/sstash"
arch="noarch"
license="MIT"
depends="python3 py3-pynacl py3-click"
makedepends="python3-dev py3-pytest"
install=""
options="!check"
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="133b67875b002ac59c17fa8b21c3889108317083c32a6fb4858c3a6c970dc0c97ddfa1fa45d262bbc5d1f5c8210780083cbeb8c740c5f41b5862711eaf3867d5  sstash-0.17.tar.gz"
