# Maintainer: vertion # Contributor: vertion # Contributor: James Lovejoy <$(echo "amFtZXNsb3Zlam95MUBnbWFpbC5jb20=" | base64 -d)> # Contributor: The Vertcoin Developers <$(echo "Y29udGFjdEB2ZXJ0Y29pbi5vcmcK" | base64 -d)> # Contributor: Thomas Voegtlin <$(echo "dGhvbWFzdkBlbGVjdHJ1bS5vcmcK" | base64 -d)> # Contributor: Pooler pkgname=electrum-vtc pkgver=4.2.2 pkgrel=1 pkgdesc='Lightweight Vertcoin wallet' arch=('any') url='https://vertcoin.org/' license=('MIT') makedepends=('python-setuptools' 'python-pip') depends=('python-pyaes' 'python-ecdsa' 'python-pbkdf2' 'python-requests' 'python-qrcode' 'python-protobuf' 'python-dnspython' 'python-jsonrpclib-pelix' 'python-pysocks' 'python-pyqt5' 'python-pycryptodomex' 'python-websocket-client' 'python-certifi' 'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks' 'libsecp256k1' 'python-bitstring' 'python-vertcoinhash-git' ) optdepends=('python-btchip: BTChip hardware wallet support' 'python-hidapi: Digital Bitbox hardware wallet support' 'python-matplotlib: plot transaction history in graphical mode' 'zbar: QR code reading support' 'python-rpyc: send commands to Electrum Python console from an external script' 'python-qdarkstyle: optional dark theme in graphical mode' 'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes' ) source=("https://github.com/vertcoin-project/electrum/releases/download/v${pkgver}/Electrum-VTC-${pkgver}.tar.gz") sha256sums=('2b89b7ef5ed3a5c90738f60909648f48d8a8a50207fdecffca844d001fb9dfb8') provides=('electrum-vtc') conflicts=('electrum-vtc') build() { cd "Electrum-VTC-${pkgver}" python setup.py build } package() { cd "Electrum-VTC-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 --prefix=/usr install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/$pkgname install -D -m644 LICENCE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE }