What does the word gerrymander mean?

Gerrymander means the drawing of the boundaries of a political district in a way which is designed to include certain types of people and exclude others from voting in that district.