Never particularly robust, Bosnia and Herzegovina's economy was shattered by the civil war that broke out after independence. Historically, the economy has depended on agriculture, although it now provides less than half of the country's food needs. Wheat, corn, oats, and barley are the principal products of Bosnia and tobacco, cotton, fruits, and grapes of Herzegovina. Livestock is also raised. Mining is important, and there are significant deposits of lignite, iron ore, bauxite, copper, lead, zinc, manganese, and other minerals. Vehicle and aircraft assembly, oil refining, and the manufacture of steel, textiles, tobacco products, wooden furniture, and domestic appliances are important. There has been some development of the country's hydroelectric resources. Metals, clothing, and wood products are exported, and machinery, chemicals, fuels, and foodstuffs are imported. The main trading partners are Croatia, Italy, Slovenia, and Germany.