cask :v1 => 'postbox' do
  version :latest
  sha256 :no_check

  url 'http://www.postbox-inc.com/php/download.php?a=3011m'
  name 'Postbox'
  homepage 'http://www.postbox-inc.com/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  app 'Postbox.app'
end

cask :v1 => 'postbox' do
  version '4.0.0'
  sha256 '50502ad03e12366d5fbc7c9624a53dc7dfb9b1b3c23d72cd05a694a2b79f48ec'

  # amazonaws.com is the official download host per the vendor homepage
  url "https://s3.amazonaws.com/download.getpostbox.com/installers/#{version}/2_08c63331d92b59d2d99abea0a6eae8c0/postbox-#{version}-mac64.dmg"
  name 'Postbox'
  homepage 'http://www.postbox-inc.com/'
  license :commercial
  tags :vendor => 'Postbox'
  depends_on :macos => '>= :mavericks'
  depends_on :arch => :x86_64

  app 'Postbox.app'

  zap :delete => [
                  '~/Library/Application Support/Postbox',
                  '~/Library/Caches/com.crashlytics.data/com.postbox-inc.postbox',
                  '~/Library/Caches/com.postbox-inc.postbox',
                  '~/Library/Caches/Postbox',
                  '~/Library/PDF Services/Mail PDF with Postbox',
                  '~/Library/Preferences/com.postbox-inc.postbox.plist',
                  '~/Library/Saved Application State/com.postbox-inc.postbox.savedState',
                 ]
end

Update Postbox.app to 4.0.0, add stanzas
Update Postbox.app to 4.0.0, add stanzas

added comment per note in #11150: https://github.com/caskroom/homebrew-cask/pull/11150/files#r30196521
