# Maintainer: yate # Maintainer: Xaiuweb # Contributor: Andy Weidenbaum pkgname=python-trezor pkgver=0.11.4 pkgrel=2 pkgdesc='Python 3 library for communicating with the TREZOR Bitcoin hardware wallet' arch=('any') depends=('protobuf' 'python' 'python-ecdsa' 'python-hidapi' 'python-mnemonic' 'python-click' 'python-pyblake2' 'python-protobuf' 'python-requests' 'python-construct' 'python-libusb1' 'python-typing_extensions') makedepends=('python-setuptools') url='https://github.com/trezor/python-trezor' license=('LGPL3') options=(!emptydirs) source=('https://files.pythonhosted.org/packages/65/a3/0c472afba8e878df36480860da3f117407a9542a942e712861e73fc051df/trezor-0.11.4.tar.gz') sha256sums=('aeb3f56a4c389495617f27bf218471b7969f636d25ddc491dfefeb8a1b3cd499') provides=('python-trezor' 'trezorctl') conflicts=('trezorctl') build() { cd "$srcdir/${pkgname#python-}-$pkgver" msg2 'Building...' python setup.py build } package() { cd "$srcdir/${pkgname#python-}-$pkgver" msg2 'Installing...' python setup.py install --root="$pkgdir" --optimize=1 }