29 lines
1.1 KiB
Bash
29 lines
1.1 KiB
Bash
# Template file for 'electrum'
|
|
pkgname=electrum
|
|
version=3.3.6
|
|
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
|
|
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
|
|
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=47b4a9f56bc8d092902a7428b74f552607e90183441dc5c8d0346aff14fd1dcd
|
|
|
|
post_install() {
|
|
sed -i -e 's|electrum %u|electrum|' \
|
|
-e 's|testnet %u|testnet|' \
|
|
${DESTDIR}/usr/share/applications/electrum.desktop
|
|
vlicense LICENCE
|
|
}
|