summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff2780621aefb3797991ace02739173b03c0d3c0 (plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer:   vertion                  <vertion@protonmail.com>
# Contributor:  vertion                  <vertion@protonmail.com>
# Contributor:  James Lovejoy            <$(echo "amFtZXNsb3Zlam95MUBnbWFpbC5jb20=" | base64 -d)>
# Contributor:  The Vertcoin Developers  <$(echo "Y29udGFjdEB2ZXJ0Y29pbi5vcmcK" | base64 -d)>
# Contributor:  Thomas Voegtlin          <$(echo "dGhvbWFzdkBlbGVjdHJ1bS5vcmcK" | base64 -d)>
# Contributor:  Pooler                   <https://bitcointalk.org/index.php?action=profile;u=43931>

pkgname=electrum-vtc
pkgver=4.2.2
pkgrel=1
pkgdesc='Lightweight Vertcoin wallet'
arch=('any')
url='https://vertcoin.org/'
license=('MIT')

makedepends=('python-setuptools' 'python-pip')
depends=('python-pyaes' 'python-ecdsa' 'python-pbkdf2' 'python-requests' 'python-qrcode'
         'python-protobuf' 'python-dnspython' 'python-jsonrpclib-pelix' 'python-pysocks'
         'python-pyqt5' 'python-pycryptodomex' 'python-websocket-client' 'python-certifi'
         'python-aiorpcx' 'python-aiohttp' 'python-aiohttp-socks'
         'libsecp256k1' 'python-bitstring' 'python-vertcoinhash-git'
         )
optdepends=('python-btchip: BTChip hardware wallet support'
            'python-hidapi: Digital Bitbox hardware wallet support'
            'python-matplotlib: plot transaction history in graphical mode'
            'zbar: QR code reading support'
            'python-rpyc: send commands to Electrum Python console from an external script'
            'python-qdarkstyle: optional dark theme in graphical mode'
            'python-pycryptodomex: use PyCryptodome AES implementation instead of pyaes'
            )

source=("https://github.com/vertcoin-project/electrum/releases/download/v${pkgver}/Electrum-VTC-${pkgver}.tar.gz")
sha256sums=('2b89b7ef5ed3a5c90738f60909648f48d8a8a50207fdecffca844d001fb9dfb8')
provides=('electrum-vtc')
conflicts=('electrum-vtc')

build() {
    cd "Electrum-VTC-${pkgver}"
    python setup.py build
}

package() {
    cd "Electrum-VTC-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --prefix=/usr
    install -Dm644 AUTHORS README.rst RELEASE-NOTES -t "$pkgdir"/usr/share/doc/$pkgname
    install -D -m644 LICENCE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}