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