Added -r to set recipient and Auto-Keyserver Lookup. Added -o to pipe to stdout. Removed -a pinentry do to lack of usefullness.