30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'electrum'
|
|
pkgname=electrum
|
|
version=3.3.2
|
|
revision=2
|
|
noarch=yes
|
|
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=303688ed42d5eeda75e6fd37fb81291628d6b0aa23046b44f8eb1485cb79dec5
|
|
|
|
post_install() {
|
|
sed -i -e 's|electrum %u|electrum|' \
|
|
-e 's|testnet %u|testnet|' \
|
|
${DESTDIR}/usr/share/applications/electrum.desktop
|
|
vlicense LICENCE
|
|
}
|