void-packages/srcpkgs/Electron-Cash/template

25 lines
944 B
Bash

# Template file for 'Electron-Cash'
pkgname=Electron-Cash
version=4.0.12
revision=1
archs=noarch
build_style=python3-module
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
depends="python3-PyQt5 python3-PyQt5-svg python3-qrcode python3-dateutil
python3-jsonrpclib python3-protobuf
python3-dnspython python3-requests python3-pysocks python3-stem
python3-ecdsa python3-pyaes python3-pycryptodome libbitcoin-secp256k1 libzbar"
short_desc="Lightweight Bitcoin Cash client"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="MIT"
homepage="https://electroncash.org"
distfiles="https://github.com/Electron-Cash/Electron-Cash/releases/download/${version}/Electron-Cash-${version}.tar.gz"
checksum=befcedee8e7d5f4a1f2a012c97d8b0f0b452728145ce9d398a1aec69b7f126c7
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
}