# Get passwords from gpg'd file
set my_gmail_password = `gpg -d ~/.gmail_password.gpg`

# General
set realname = "Dustin Swan"

# Gmail IMAP
set imap_user = "dustinswan@gmail.com"
set imap_pass = $my_gmail_password
set folder = "imaps://imap.gmail.com/"
set spoolfile = +INBOX
set imap_check_subscribed
set header_cache  = ~/.mutt/hcache
# # Don't need this because Gmail saves it automatically
# set record = "+[Gmail]/Sent Mail"
set postponed = "+[Gmail]/Drafts"
unset imap_passive
set imap_keepalive = 300
set mail_check = 60

# SMTP
set smtp_url = "smtp://dustinswan@smtp.gmail.com:587/"
set smtp_pass = $my_gmail_password
set send_charset = "utf-8"

set mailcap_path = ~/.mutt/mailcap

# Edit headers
#set edit_headers = yes
#unset use_from
#unset use_domain
#unset user_agent
#unmy_hdr *

# Use ppl for address book
set query_command = "ppl mutt '%s'"

# Sorting
set sort = threads
set sort_aux = reverse-last-date-received

# Sidebar
set sidebar_delim   = '  │'
set sidebar_visible = yes
set sidebar_width   = 24
#color sidebar_new color221 color233

bind index <down>     sidebar-next
bind index <up>       sidebar-prev
bind index <right>    sidebar-open

# Status Bar
#set status_chars = "  *&A"
#set status_format = "---[ Folder: %f ]---[%r%n messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]---%>-%?p?( %p postponed )?---""

# Fucking html mail
auto_view text/html
alternative_order text/plain text/enriched text/html

# Colors
source ~/.mutt/mutt-colors-solarized-dark-256.muttrc