Using the GeoIP module with Context GeoIP module, it makes it really easy to create a context which has a specific condition to only display a block if your IP location is from a particular country.
Furthermore GeoIP has a powerful API to pull out location information.
In this article I’ll show you how to setup GeoIP and Context GeoIP module.