Dependencies
------------

Email-Reminder requires Python 3.6 or later as well at the following packages:

- defusedxml
- PySide2.QtCore
- PySide2.QtGui
- PySide2.QtWidgets

Installation
------------

Here is the preferred way of installing Email-Reminder:

1- Run "perl Makefile.pl" to generate the Makefile.

2- Run "make install" as root to install all program files.

3- Set up a cron job so that the "collect-reminders" and "send-reminders"
   scripts are run everyday.  Under Debian, this is done by putting the
   following shell script under /etc/cron.daily/:

   #!/bin/sh
   COLLECT_SCRIPT=/usr/sbin/collect-reminders
   SEND_SCRIPT=/usr/bin/send-reminders

   if [ -x "$COLLECT_SCRIPT" -a -x "$SEND_SCRIPT" ]; then
       $COLLECT_SCRIPT
       su - email-reminder -c $SEND_SCRIPT
   fi

4- Add an "email-reminder" user account (usually done with the "adduser" or 
   "useradd" commands).

5- Create the spool directory for that user only:

   mkdir /var/spool/email-reminder
   chown email-reminder:email-reminder /var/spool/email-reminder
   chmod 750 /var/spool/email-reminder

6- Should you wish to add a menu entry for Email-Reminder Editor, use
   the email-reminder-editor.desktop file.
