# Template file for 'electrum'
pkgname=electrum
version=2.9.3
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 python-pyaes python-pysocks"
# 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=c2192d4df6490fdc6e6f9f85b05db0e3915683a016a43ed444ebbc51ccfa0e34

post_install() {
	vlicense LICENCE LICENSE
}
