Note: This assumes you are using GTK, if not, choose a different version of the libwx
or you'll end up installing all of GTK. If you aren't using a window manager, you don't need WX at all, but you'll miss out on some cool built in GUIs.
sudo apt-get install build-essential libncurses5-dev libssl-dev libwxgtk3.0-dev