IGNOREPATH=/dev:/var:/etc:/root:/home:/mnt:/tmp
STRIPBIN=y
STRIPLIB=y

VERSION=1.0.2
DESC="\
Licq $VERSION\n\
\n\
Licq includes all the basic features of ICQ, like sending/receiving\n\
messages, chat, file transfer, contact list with pixmaps and user\n\
status, basic/extended user info, adding/editing users from within\n\
the GUI, user history, user groups, and new user registration.  All\n\
commands and information are available through a simple and\n\
convenient tab dialog.  Licq is written in C++ and comes with a Qt\n\
interface, but can be extended with plugins and skins."

BUILD=1
ARCH=`/bin/arch`
PKGNAME=licq-$VERSION-$ARCH-$BUILD

compile() {
   tar xvzf $CWD/licq-$VERSION.tar.gz

   cd licq-$VERSION
   ./configure --prefix=/usr/local
   make
}

install() {
   make install

   ( cd plugins/qt-gui
     ./configure --prefix=/usr/local
     make
     make install )

   mkdir -p /usr/local/doc/licq-$VERSION
   cp README-0.61-0.70 README-0.70-0.71 README.ICS README.OPENSSL \
      doc/BUGS doc/CHANGELOG doc/COPYING doc/CREDITS doc/HINTS \
      doc/PLUGINS.HOWTO doc/README doc/README.SOCKS doc/TODO \
      doc/UTILITIES.HOWTO /usr/local/doc/licq-$VERSION
}
