```ruby
class Dia < Cask
  homepage 'http://dia-installer.de/'
  url 'http://downloads.sourceforge.net/dia-installer/dia/0.97.2/Dia-0.97.2-5.dmg'
  version '0.97.2-5'
  sha1 '20bcc65b63f44aaa2788a7183c4a254f6a57d57d'
end
```

Add link to Dia app and sort params
user
```ruby
class Dia < Cask
  url 'http://downloads.sourceforge.net/dia-installer/dia/0.97.2/Dia-0.97.2-5.dmg'
  homepage 'http://dia-installer.de/'
  version '0.97.2-5'
  sha1 '20bcc65b63f44aaa2788a7183c4a254f6a57d57d'
  link 'Dia.app'
end
```
assistant