# Template file for 'python-electrum'
pkgname=electrum
version=2.7.18
revision=1
noarch=yes
nocross=yes
wrksrc="Electrum-${version}"
build_style=python2-module
pycompile_module="electrum"
hostmakedepends="python-setuptools"
depends="python-slowaes python-ecdsa python-pbkdf2 python-requests python-qrcode python-protobuf python-dnspython python-jsonrpclib python-PyQt4"
# Missing optional dependencies:
#  python-zbar - QR Code scanning
#  python-btchip - BTChip hardware wallet support
#  python-trezor - TREZOR hardware wallet support
#  python-keepkey - KeepKey hardware wallet support
short_desc="Lightweight Bitcoin client"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="https://electrum.org/"
license="MIT"
distfiles="https://download.electrum.org/${version}/Electrum-${version}.tar.gz"
checksum=4b4d7726e29df55a28d8a86f8e514904b339fd5d29a5cb57a919430c0fcb33d1

post_install() {
	vlicense LICENCE LICENSE
}
