cask 'intellij-idea' do version '2016.2.5' sha256 'c82f9e36ca9dea459d2427381b84bf56e3aabc61c1bca7ba3efa9062a5fd5fc6' url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg" name 'IntelliJ IDEA' homepage 'https://www.jetbrains.com/idea/' auto_updates true app 'IntelliJ IDEA.app' zap delete: [ "~/Library/Caches/IntelliJIdea#{version.major_minor}", "~/Library/Logs/IntelliJIdea#{version.major_minor}", "~/Library/Application Support/IntelliJIdea#{version.major_minor}", "~/Library/Preferences/IntelliJIdea#{version.major_minor}", ] end