aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/electrum/template
blob: 8f11be9033fea152798467d557f09f4686bf85cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Template file for 'electrum'
pkgname=electrum
version=4.5.8
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools python3-pyqt6-devel-tools"
depends="python3-aiohttp python3-aiohttp_socks python3-aiorpcx
 python3-dnspython python3-ecdsa python3-jsonrpclib python3-Pillow
 python3-protobuf python3-pyaes python3-pycryptodomex python3-pyqt6
 python3-qrcode python3-socks python3-cryptography libsecp256k1
 python3-async-timeout python3-certifi python3-jsonpatch libzbar
 python3-pyqt6-declarative python3-pyqt6-gui python3-pyqt6-network"
# 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="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://electrum.org/"
changelog="https://raw.githubusercontent.com/spesmilo/electrum/master/RELEASE-NOTES"
distfiles="https://github.com/spesmilo/electrum/archive/${version}.tar.gz"
checksum=84221054e6452ea11d4b80cb4bf6e0c539c57dbff3c414c1a44e5442dc9e1caf

post_install() {
	vsed -i -e 's|electrum %u|electrum|' \
		-e 's|testnet %u|testnet|' \
		${DESTDIR}/usr/share/applications/electrum.desktop
	vlicense LICENCE
	vdoc "${FILESDIR}/README.voidlinux"
}