31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'electrum'
|
|
pkgname=electrum
|
|
version=4.1.4
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
|
|
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
|
|
python3-bitstring python3-dnspython python3-ecdsa python3-jsonrpclib
|
|
python3-protobuf python3-pyaes python3-pycryptodomex python3-PyQt5
|
|
python3-qrcode python3-socks python3-cryptography libbitcoin-secp256k1
|
|
python3-certifi"
|
|
# Optional dependencies:
|
|
# btchip - BTChip hardware wallet support
|
|
# trezor - TREZOR hardware wallet support
|
|
# keepkey - KeepKey hardware wallet support
|
|
# qdarkstyle - Dark theme
|
|
checkdepends="$depends python3-pytest"
|
|
short_desc="Lightweight Bitcoin wallet"
|
|
maintainer="Charles E. Lehner <cel@celehner.com>"
|
|
license="MIT"
|
|
homepage="https://electrum.org/"
|
|
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
|
|
checksum=31f3a794565c3360f129b97d9a3962f8cc978f79d1b0f69d0929e00ce2bfc0d8
|
|
|
|
post_install() {
|
|
sed -i -e 's|electrum %u|electrum|' \
|
|
-e 's|testnet %u|testnet|' \
|
|
${DESTDIR}/usr/share/applications/electrum.desktop
|
|
vlicense LICENCE
|
|
}
|