Charging by the hour should only be for internal costing / estimating. How could you expect a client to understand how many hours it will take you to do a project.