Compiling pgp4pine

0. Read the README file!

1. Type ./configure

2. Type make.

3. Type make install. If you don't want to install in /usr/local, play
   with configure in step 1 (configure --help). You can also grab the binary
   (pgp4pine/pgp4pine) and put it wherever you want it.

4. Edit ~/.pgp4pinerc. If you don't have one, copy it from
   /usr/local/doc/pgp4pine/pgp4pinerc.example (or where you installed it).
   If you have an older version then 1.76, you might want to check for new
   options.

Installing pgp4pine in Pine 3.95 or newer
(Note: This may work for older versions, but I've only personally tested it
with 3.95 and above)

1. In pine, go into Setup, then Configuration.

2. If you want pgp4pine to automatically catch and decrypt/verify 
   PGP-signed/encrypted messages, set display-filters (near the bottom) to

      _BEGINNING("-----BEGIN PGP")_ /usr/local/bin/pgp4pine -d -i _TMPFILE_

   Do it exactly like this. Five '-' and _TMPFILE_ and this stuff literally.
   (Of course, change the path to the binary if you installed it elsewhere.)
   If you want to run pgp4pine only when you tell it to, don't fill this in,
   and do this instead: In a message, export it somewhere, then, in a
   shell/xterm, type "pgp4pine -d -i (filename)"

3. Set sending-filters to 

     /usr/local/bin/pgp4pine -e -i _TMPFILE_ -r _RECIPIENTS_

   You must use absolute paths for the pgp4pine executable.

3a. As a system administrator, you can globally set these filters in the
   pine.conf (usually in /usr/lib). Just add the lines:

display-filters=_BEGINNING("-----BEGIN PGP")_ /usr/local/bin/pgp4pine -d -i _TMPFILE_
sending-filters=/usr/local/bin/pgp4pine -e -i _TMPFILE_ -r _RECIPIENTS_

3b. With the package come two perl scripts, insert_entries.pl and 
   remove_entries.pl,  that can do the same for you.

4. When sending mail, Pine will now offer you filters, by default 'unfiltered'.
   You can cycle through the filters with Ctrl-N/Ctrl-P. Cursor-up and -down
   seem to work as well. 

5. If you often use pgp4pine for sending mail, you might want to go to Setup
   -> Configuration, and turn on 'compose-send-offers-first-filter'.

An illustrated installation manual is available at http://pgp4pine.flatline.de!
