void-packages/srcpkgs/electrum/template
2020-05-31 13:06:08 +02:00

31 lines
1.1 KiB
Bash

# Template file for 'electrum'
pkgname=electrum
version=3.3.8
revision=1
archs=noarch
build_style=python3-module
pycompile_module="electrum electrum_gui electrum_plugins"
hostmakedepends="python3-PyQt5-devel-tools python3-setuptools"
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx>=0.18<0.19
python3-dnspython python3-ecdsa python3-jsonrpclib python3-protobuf
python3-pyaes python3-pycryptodome python3-PyQt5 python3-qrcode"
# Missing optional dependencies:
# btchip - BTChip hardware wallet support
# trezor - TREZOR hardware wallet support
# keepkey - KeepKey hardware wallet support
# qdarkstyle - Dark theme
short_desc="Lightweight Bitcoin wallet"
maintainer="Charles E. Lehner <cel@celehner.com>"
license="MIT"
homepage="https://electrum.org/"
# patch doesn't apply for PyPI tarball
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
checksum=52addd8c0d08d3cc7cc34015efd67f7396fe30a74ac668b8fb77f6b3b927fd8b
post_install() {
sed -i -e 's|electrum %u|electrum|' \
-e 's|testnet %u|testnet|' \
${DESTDIR}/usr/share/applications/electrum.desktop
vlicense LICENCE
}