# Depends on libxft

# Exit on error:
set -e

wget http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-9.19.tar.bz2
tar xf rxvt-unicode-9.19.tar.bz2
cd rxvt-unicode-9.19
./configure --prefix=
make install
cd ..
rm -rf rxvt-unicode-9.19
rm rxvt-unicode-9.19.tar.bz2

cat > .Xdefaults << EOF
URxvt.buffered:   true
URxvt.background: black
URxvt.foreground: white
URxvt.scrollBar:  false
URxvt.colorBD:    white
URxvt.colorUL:    cyan
EOF

echo
echo You can now copy .Xdefaults inside your home directory

exit 0
