           SPELL=libmapi
if  [[  "$LIBMAPI_SCM"  ==  "y"  ]];  then
  if  [[  "$LIBMAPI_SCM_AUTOUPDATE"  ==  "y"  ]];  then
         VERSION=$(date +%Y%m%d)
  else
         VERSION=svn
  fi
          SOURCE=$SPELL-svn.tar.bz2
   SOURCE_URL[0]=svn_https://svn.openchange.org/openchange/trunk:$SPELL
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-svn
   SOURCE_IGNORE=volatile
    SOURCE_HINTS="no-check-certificate"
else
         VERSION=0.8.2-ROMULUS
          SOURCE=$SPELL-$VERSION.tar.gz
   SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/openchange/$SPELL/$SOURCE
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
      SOURCE_GPG="gurus.gpg:$SOURCE.sig:WORKS_FOR_ME"
fi
      LICENSE[0]=GPLv3
        WEB_SITE=http://www.openchange.org/index.php?option=com_content&task=view&id=63&Itemid=71
        KEYWORDS="library"
         ENTERED=20090120
           SHORT="OpenChange MAPI library"
cat << EOF
The OpenChange MAPI library aims to provide interoperability with an Open
Source implementation of Microsoft Exchange protocols under UNIX/Linux. The
current implementation offers a client-side library which can be used in
existing messaging clients and offer native compatibility with Exchange Servers
up to 2007.

MAPI stands for Messaging Application Programming Interface and is used in the
Microsoft Exchange Server groupware server. This solution works with Outlook and
provides collaborative features such as a messaging server, shared calendars,
contact databases, public folders and tasks.
EOF
