# Template file for 'electrum'
pkgname=electrum
version=2.9.2
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=6a3f9bc8e205e696358d2cc7a98a39bc8f5d8b3d7a73bd178996c8264e7cf4dd

post_install() {
	vlicense LICENCE LICENSE
}
