# Template file for 'electrum'
pkgname=electrum
version=3.0.5
revision=4
noarch=yes
nocross=yes
wrksrc="Electrum-${version}"
build_style=python3-module
pycompile_module="electrum"
hostmakedepends="python3-setuptools"
depends="python3-dnspython python3-pyaes python3-ecdsa python3-qrcode
 python3-pbkdf2 python3-protobuf python3-pysocks python3-PyQt5
 python3-jsonrpclib python3-requests"
# 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=61ebc06782433f928853188762c6f3098bd3d08d54c34b5594233d196e51e01b

post_install() {
	vlicense LICENCE LICENSE
}
