Sorted build-depends.
Use more structured URI representation; targets match only hosts.

This resolves #2.