# Note: depends on miniupnpc
# Note: depends on boost
# Note: depends on openssl
# Note: depends on qt4 (with openssl support)
# Note: depends on berkeley-db
# Note: depends on protobuf
# Note: depends on autoconf
# Note: depends on automake
# Note: depends on libevent
wget -c https://github.com/bitcoin/bitcoin/archive/v0.15.1/bitcoin-qt-0.15.1.tar.gz
tar -xzf bitcoin-qt-0.15.1.tar.gz
cd bitcoin-0.15.1
./autogen.sh
./configure --prefix="/usr" --with-incompatible-bdb --with-gui
make # Doesn't mind -j#
make install
install contrib/debian/bitcoin-qt.desktop /usr/share/applications
mkdir -p /usr/share/pixmaps
install share/pixmaps/*.xpm share/pixmaps/*.png /usr/share/pixmaps