cask :v1 => 'adium' do
  version '1.5.10'
  sha256 'bca3ac81d33265b71c95a3984be80715fbd98f38d7c463d0441d43a335ed399a'

  url "http://download.adium.im/Adium_#{version}.dmg"
  name 'Adium'
  appcast 'https://www.adium.im/sparkle/appcast-release.xml',
          :sha256 => '5d05831689494b3059ddf31580438579dee1d1b2a34f24a018b86fcaadd46e53'
  homepage 'https://www.adium.im/'
  license :gpl

  app 'Adium.app'

  zap :delete => [
                  '~/Library/Application Support/Adium 2.0',
                  '~/Library/Caches/Adium',
                  '~/Library/Caches/com.adiumX.adiumX',
                  '~/Library/Preferences/com.adiumX.adiumX.plist',
                 ]
end
