void-packages/srcpkgs/Electron-Cash/template

26 lines
950 B
Bash

# Template file for 'Electron-Cash'
pkgname=Electron-Cash
version=4.0.10
revision=2
archs=noarch
build_style=python3-module
pycompile_module="electroncash electroncash_gui electroncash_plugins"
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
depends="python3-PyQt5 python3-PyQt5-svg
python3-jsonrpclib python3-protobuf
python3-pyaes python3-pycryptodome libbitcoin-secp256k1 libzbar
python3-dnspython python3-requests python3-qrcode python3-pysocks"
short_desc="Lightweight Bitcoin Cash client"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://electroncash.org"
distfiles="https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz"
checksum=48270e12956a2f4ef4d2b0cb60611e47f136b734a3741dab176542a32ae59ee5
post_install() {
for lib in zbar secp256k1; do
rm -f -- "${DESTDIR}/usr/lib/python${py3_ver}/site-packages/electroncash/lib${lib}.so.0"
done
vlicense LICENCE
}