# Note: depends on opus
# Note: depends on libvpx
# Note: depends on pkg-config
# Note: depends on ffmpeg or libav
# Note: depends on toxcore (with ffmpeg/libav support)
# Note: depends on freetype
# Note: depends on v4l-utils
# Note: depends on fontconfig
# Note: depends on openal-soft
# Note: depends on libX11
# Note: depends on libXext
# Note: depends on libXrender
# Note: depends on git
wget -c https://github.com/notsecure/uTox/archive/v0.3.2/uTox-0.3.2.tar.gz
tar -xzf uTox-0.3.2.tar.gz
cd uTox-0.3.2
echo "CFLAGS+=`pkg-config --cflags freetype2`" >> Makefile
echo "LDFLAGS+=-lbz2" >> Makefile
make FILTER_AUDIO=0 DBUS=0 # Doesn't mind -j#
make install PREFIX="/usr"