# 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=/usr

make
make install

cd ..

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

echo You can now copy .Xdefaults inside your home directory

exit 0
