void-packages/srcpkgs/electrum/template
2019-01-15 21:47:19 +01:00

29 lines
1 KiB
Bash

# Template file for 'electrum'
pkgname=electrum
version=3.3.2
revision=1
noarch=yes
wrksrc="Electrum-${version}"
build_style=python3-module
pycompile_module="electrum electrum_gui electrum_plugins"
hostmakedepends="python3-setuptools"
depends="python3-PyQt5 python3-dnspython python3-ecdsa python3-jsonrpclib
python3-pbkdf2 python3-protobuf python3-pyaes python3-pycryptodome python3-pysocks
python3-qrcode python3-requests"
# Missing optional dependencies:
# btchip - BTChip hardware wallet support
# trezor - TREZOR hardware wallet support
# keepkey - KeepKey hardware wallet support
short_desc="Lightweight Bitcoin wallet"
maintainer="Charles E. Lehner <cel@celehner.com>"
license="MIT"
homepage="https://electrum.org/"
distfiles="https://download.electrum.org/${version}/Electrum-${version}.tar.gz"
checksum=51b2a5dd3b0e924a9525dc1da801a87d113050ee109296496e86e6bc396cee6d
post_install() {
sed -i -e 's|electrum %u|electrum|' \
-e 's|testnet %u|testnet|' \
${DESTDIR}/usr/share/applications/electrum.desktop
vlicense LICENCE
}