##
##  @l_prefix@/etc/mutt/Muttrc -- OpenPKG Mutt Global Configuration
##  Copyright (c) 1998-2003 Ralf S. Engelschall <rse@engelschall.com>
##

#   ignore CTRL-Z
unset suspend

#   use OpenPKG MTA
set sendmail = @l_prefix@/sbin/sendmail

#   use OpenPKG folder paths
set folder    = ~/.mail
set record    = ~/.mail/sent
set postponed = ~/.mail/postponed
set spoolfile = ~/.mail/inbox
set mbox      = ~/.mail/inbox
mailboxes       ~/.mail/inbox 

#   aliases
#source ~/.muttrc.aliases
set alias_file = ~/.muttrc.aliases
set sort_alias = unsorted

#   signature
unset sig_dashes
set signature = ~/.signature

#   editor
set editor = `echo ${EDITOR-vi}`
set tmpdir = `echo ${TMPDIR-/tmp}`

#   addresses
set use_domain

#   pager
set pager = builtin
set pager_context = 1
set pager_stop
set pager_index_lines = 0
ignore received content- mime-version status x-status message-id sender
ignore references return-path lines
ignore x-
ignore "from "

#   display customization
set to_chars = "L CC "
set charset = iso-8859-1
set quote_regexp="^[ \t]*([A-Za-z ]+>|[]>:}][]>:}]*)"
set smileys="(>From )|(>?[;:][-^]?[][)(><}{|/DP][)}]*)"
mono quoted bold
mono markers bold
set menu_scroll
unset mark_old
set help
set delete = yes
set wait_key = no
set confirmappend = no
set confirmcreate = no
folder-hook . set sort=date-sent

#   reply/forward customization
unset edit_hdrs
set autoedit
set fast_reply
set date_format = "!%a, %b %d, %Y"
set attribution = "On %d, %n wrote:\n"
set indent_str = "> "
set include = yes
set forw_format = "[FWD] %s"
unset mime_fwd
unset forw_quote
unset metoo

#   new mail generation
set hdrs
set use_8bitmime

#   autoviewing via .mailcap handlers
auto_view text/html image/*

#   no printing by default
set print = no

#   toggle sort mode
macro index \cxd set sort=date-sent
macro index \cxt set sort=threads

#   show documentation
macro generic <f1> "!`echo ${PAGER-more}` @l_prefix@/share/mutt/manual.txt\n" "Show Mutt Manual"
macro index   <f1> "!`echo ${PAGER-more}` @l_prefix@/share/mutt/manual.txt\n" "Show Mutt Manual"
macro pager   <f1> "!`echo ${PAGER-more}` @l_prefix@/share/mutt/manual.txt\n" "Show Mutt Manual"

