# Pastebin W0iBQZbU sudo apt-get install git make pkg-config libtool autoconf g++ g++-mingw-w64-x86-64 git clone https://github.com/bitcoin/bitcoin cd bitcoin git checkout v0.13.1 cd depends make HOST=x86_64-w64-mingw32 cd .. ./autogen.sh ./configure --prefix=`pwd`/depends/x86_64-w64-mingw32 make