# Note: depends on libffi
# Note: depends on pyaes
# Note: depends on ecdsa-python
# Note: depends on requests-python
# Note: depends on python-qrcode
# Note: depends on pbkdf2-python
# Note: depends on protobuf
# Note: depends on jsonrpclib-python
# Note: depends on dnspython
# Note: depends on PySocks
wget -c https://github.com/spesmilo/electrum/archive/3.1.3/electrum-3.1.3.tar.gz
tar -xzf electrum-3.1.3.tar.gz
cd electrum-3.1.3
if which pyrcc5; then pyrcc5 icons.qrc -o gui/qt/icons_rc.py; fi
./setup.py build
./setup.py install # as root