# Maintainer: yate # Maintainer: Xaiuweb # Contributor: Andy Weidenbaum pkgname=python-trezor pkgver=0.12.0 pkgrel=1 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/trezor-firmware/tree/master/python' license=('LGPL3') options=(!emptydirs) source=('https://files.pythonhosted.org/packages/d1/8d/f467c7a01f858a668940aadd160cee78505025a6ae73fa8bb3d685a45e2c/trezor-0.12.0.tar.gz') sha256sums=('f6bc821bddec06e67a1abd0be1d9fbc61c59b08272c736522ae2f6b225bf9579') 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 }